﻿using System.Windows;

namespace DenisVuyka.Controls.PropertyGrid
{
  public delegate void PropertyItemEventHandler(object sender, PropertyItemEventArgs e);

  public class PropertyItemEventArgs : RoutedEventArgs
  {
    public object Component { get; set; }
    public PropertyItem PropertyItem { get; set; }
    public bool Cancel { get; set; }

    public PropertyItemEventArgs() : base() { }
    public PropertyItemEventArgs(RoutedEvent routedEvent) : base(routedEvent) { }
    public PropertyItemEventArgs(RoutedEvent routedEvent, object source) : base(routedEvent, source) { }
  }
}
